using AhCha.Fortunate.Entity.MySQL;
using AhCha.Fortunate.ModelsDto;
using AhCha.Fortunate.ModelsDto.MySQL.ApiExceptionLogDto;

namespace AhCha.Fortunate.IService.MySQL
{
    public interface IApiExceptionLogService : IBaseServices<ApiExceptionLog>
    {

        /// <summary>
        /// 获取接口异常记录日志
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<SqlSugarPagedList<ApiExceptionLogOutput>> GetApiExceptionLogPage(QueryApiExceptionLogInput input);

        /// <summary>
        /// 新增ApiExceptionLog表数据
        /// </summary>
        Task PostApiExceptionLog(PostApiExceptionLogInput input);

    }
}
